<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2021/5/7
  Time: 16:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>success</title>
</head>
<body>
<h1>注册成功</h1>
<span>账号:<%=request.getAttribute("username") %></span>
<span>密码:<%=request.getAttribute("pwd") %></span>
<span>爱好:${requestScope.likes0}&nbsp;&nbsp;${requestScope.likes1}</span>
<%--<span>性别:<%=request.getParameter("sex") %></span>--%>
<span>性别:<%=request.getAttribute("sex") %></span>
</body>
</html>
